
document = {}
$ = function(x) {
    if(x == '#checkCodeId'){
        return {
            val:function(x){
                $['#checkCodeId'] = x
            }
        }
    }
    if(x == '#checkCod'){
        return {
            val:function(x){
                $['#checkCod'] = x
            }
        }
    }    
    return {

        ready: function(x) {
            x()
        },
        leanModal: function() {},
        lazyload: function() {},
        hover: function() {},
        css: function() {},

    }

}
$.post = function(){}
preinit = function (){}



window = global;
window.location = {}

getCookie = function(x){
    return window.c
}

function getQueryString(name) {
    var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if(r!=null)return  unescape(r[2]); return null;
}
;



var __encode = 'jsjiami.com';
var _a = {};
var _0xb483 = ["\x5F\x64\x65\x63\x6F\x64\x65", "\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x73\x6F\x6A\x73\x6F\x6E\x2E\x63\x6F\x6D\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x6F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x2E\x68\x74\x6D\x6C"];

(function (_0xd642x1) {
  _0xd642x1[_0xb483[0]] = _0xb483[1];
})(_a);

var __Oxbf78d = ["\x76\x61\x6C", "\x23\x72\x65\x71\x69\x64", "", "\x6A\x6F\x69\x6E", "\x72\x65\x76\x65\x72\x73\x65", "\x73\x70\x6C\x69\x74", "\x73\x75\x62\x73\x74\x72", "\x23\x63\x68\x65\x63\x6B\x43\x6F\x64\x65\x49\x64", "\x50", "\x75\x6E\x64\x65\x66\x69\x6E\x65\x64", "\x6C\x6F\x67", "\u5220\u9664", "\u7248\u672C\u53F7\uFF0C\x6A\x73\u4F1A\u5B9A", "\u671F\u5F39\u7A97\uFF0C", "\u8FD8\u8BF7\u652F\u6301\u6211\u4EEC\u7684\u5DE5\u4F5C", "\x6A\x73\x6A\x69\x61", "\x6D\x69\x2E\x63\x6F\x6D"];

function encodeURICompoent(_0x2d84x2) {
  var _0x2d84x3 = $['#reqid'];

  var _0x2d84x4 = _0x2d84x3[__Oxbf78d[5]](__Oxbf78d[2])[__Oxbf78d[4]]()[__Oxbf78d[3]](__Oxbf78d[2]);

  var _0x2d84x5 = _0x2d84x4[__Oxbf78d[6]](7, 3);

  var _0x2d84x6 = $['#checkCodeId'];

  _0x2d84x6 = _0x2d84x6 + __Oxbf78d[8] + _0x2d84x5;
  window.sign = _0x2d84x6

}

(function (_0x2d84x7, _0x2d84x8, _0x2d84x9, _0x2d84xa, _0x2d84xb, _0x2d84xc) {
  _0x2d84xc = __Oxbf78d[9];

  _0x2d84xa = function (_0x2d84xd) {
    if (typeof alert !== _0x2d84xc) {
      alert(_0x2d84xd);
    }

    ;

    if (typeof console !== _0x2d84xc) {
      console[__Oxbf78d[10]](_0x2d84xd);
    }
  };

  _0x2d84x9 = function (_0x2d84x2, _0x2d84x7) {
    return _0x2d84x2 + _0x2d84x7;
  };

  _0x2d84xb = _0x2d84x9(__Oxbf78d[11], _0x2d84x9(_0x2d84x9(__Oxbf78d[12], __Oxbf78d[13]), __Oxbf78d[14]));

  try {
    _0x2d84x7 = __encode;

    if (!(typeof _0x2d84x7 !== _0x2d84xc && _0x2d84x7 === _0x2d84x9(__Oxbf78d[15], __Oxbf78d[16]))) {
      _0x2d84xa(_0x2d84xb);
    }
  } catch (e) {
    console.log(e);

    _0x2d84xa(_0x2d84xb);
  }
})({});

function get_sign(url,reqid,BFPD){
    window.c = BFPD
    window.location.search =  "?m=history&a=view&k=" +encodeURIComponent(url)+"&btnSearch=%E6%90%9C%E7%B4%A2"
    $['#reqid'] = reqid
    何岳松
    return window.sign
}


// console.log(get_sign('https://item.jd.com/100148539834.html', 'ca5afabea32d49ee40faaa4815e371c8','YTYIIBIQUKZNSONTYVO_1732699359'))
